/* General */

html {
	height: 99%;
}

body {
	margin: 0;
	height: 99%;
}

#main {
    height: 90%;
    margin-bottom: 2px;
}

footer {
    position: relative;
    float: right;
    clear: both;
}

#info, #searchoptions {
    padding-left: 5px;
}
/* Header */

header {
	padding: 0.5em 0;
	margin-bottom: 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	background: -moz-linear-gradient(top, #fff, #fafafa);
	background: -webkit-linear-gradient(top, #fff, #fafafa);
}

#title {
	float: left;
	margin-bottom: 0px;
}

#logoutcontainer {
	margin-top: 2px;
	margin-right: 2px;
	float: right;
}

#search {
    margin: 0px auto 0px auto;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

#searchBox {
	outline: none;
	background: url("search-white.png") no-repeat 10px 6px #fcfcfc;
    border: 1px solid #d1d1d1;
	font-size: 14px;
    width: 300px;
    padding: 6px 15px 6px 35px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
}

.searchCB {
	color: #aaa;
	margin-left: 20px;
	font-size: 12px;
}

/* Adv. search */

#latBox {
  width: 60px;
}

#lonBox {
  width: 60px;
}

#radiusBox {
  width: 60px;
}

/* Map area */

#mapcontainer {
	width: 50%;
	height: 100%;
	float: left;
}

#map {
  width: 100%;
  height: 100%;
  float:left;
  border: 1px solid #999;  
  border-radius: 4px;  
}

/* Navigation */

#sidewrapper {
  height: 100%;
  padding-bottom: 30px;
}

#sidenavi {
  width:49%;
	overflow:auto;	
	float: right;
	margin-bottom: -5px;
}

#sidepanel {
	width:49%;
	overflow:auto;	
	height: 95%;
	float: right;
    color: #FFF;
    border: 1px solid #999;
    text-shadow: 0px 1px 1px #666;
    box-shadow: 0px 1px 3px #111;
    border-radius: 4px;
    background: #8D9095;
}

.navibutton {
    font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #FFF;
    padding: 5px 10px 5px 10px;
    text-shadow: 0px 1px 1px #666;
    box-shadow: 0px 1px 3px #111;
    border-radius: 4px;
    cursor: pointer;
    background: #CCC;
    border: 1px solid #DDD;
}

.navibutton:hover {
    background: #8D9095;
    border: 1px solid #999;
}

.activebutton {
    background: #8D9095;
    border: 1px solid #999;
}

/* Help panel */

.samiTable {
	border-collapse: collapse;
}

.samiTable td {
	border: 2px solid #8D9095;
	text-align: left;
	padding: 0.3em 0.6em;
	background: #999;
}

/* Search panel */

#searchOptions {
	overflow:auto;
}

/* Results panel */

#results{
	width: 100%;
}

#resultsHeader h2 {
    font-size: 1em;
}

#toggleListView {
    margin-top: 5px;
}

#toggleListView input {
    font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #FFF;
    padding: 2px 7px 2px 7px;
    text-shadow: 0px 1px 1px #666;
    box-shadow: 0px 1px 3px #111;
    border-radius: 4px;
    cursor: pointer;
    background: #8D9095;
    border: 1px solid #999;
    margin-left: 13px;
}

#toggleListView input:hover {
    background: #CCC;
    border: 1px solid #DDD;
}

.headerlevel2 {
    margin-left: 5px;
}

.headerlevel3 {
    margin-left: 5px;
}

#categoryView {
	margin: 10px;
}

.groups div {
    margin-left: 0.5em;
}

.groups div div {
    margin-left: 1em;
}

.categoryList {
    cursor: pointer;
}

#categoryView .subgroupheader:hover {
  cursor: pointer;
}

#categoryView .resultLi:hover {
	cursor: pointer;
}

#listView {
	margin: 10px;
}

#listView .subgroupheader:hover {
  cursor: pointer;
}

#listView .resultLi:hover {
	cursor: pointer;
}

.resultDetails {
}

.resultcheckbox {
    margin-top: 7px;
}

.resultDetails {
    padding-left: 30px;
    margin-top: 3px;
    margin-bottom: 3px;
	background: #999;
	border-radius: 6px;
	box-shadow: 0px 1px 3px #111;
	padding: 0.5em 1em;
}

.resultDetails li {
	list-style-type: none;
	margin: 0.3em 0;
}

#results h2 {
    margin-bottom: 0.3em;
    margin-top: 1em;
}

#results h3 {
    margin-bottom: 0.3em;
    margin-top: 1em;
}

.resultbutton {
    font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #FFF;
    padding: 2px 7px 2px 7px;
    text-shadow: 0px 1px 1px #666;
    box-shadow: 0px 1px 3px #111;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px 5px 10px 13px;
    background: #8D9095;
    border: 1px solid #999;
}

.resultbutton:hover {
    background: #CCC;
    border: 1px solid #DDD;
}


/* Autocomplete */

.ui-autocomplete {
	z-index: 800 !important;
	opacity: 0.8;
	max-height: 300px;
	overflow-y: scroll;
}

.search-indicator {
	background: #8D9095 url("ajax-loader.gif") no-repeat center !important;
}